package shapeandson7_1;

public class TestShape {
	public static void main(String[] args) {
		Circle circle = new Circle(1.0, "blue", true);
		Rectangle rectangle = new Rectangle(2.0, 4.0);
		Square square = new Square(2.0);
		
		System.out.println(circle.getArea());
		System.out.println(circle.getPerimter());
		
		System.out.println(rectangle.getArea());
		System.out.println(rectangle.getPerimter());
		
		System.out.println(square.getArea());
		System.out.println(square.getPerimter());
	}
}
